<?
session_start();
if ($_SESSION['user_name'])
	{
		echo "<script>location.replace('userboard.php')</script>";
	}
?>

<!DOCTYPE html>

<html>
	<head>
	</head>
	<body style='font-family:"Trebuchet MS";'>
		<form name='login' method='POST' action='userboard.php'>
			Email utilisateur : <input type='text' name='user_id' style='margin-right:10px;'>
			Mot de passe : <input type='password' name='user_pass'>
			<input type='submit'>
		</form>
	</body>
<html>